<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>原型链</h1>
<script>
    function Person(){}
    let person1 = new Person()
    console.log(person1.__proto__ == Person.prototype)
    console.log(Person.prototype.__proto__ == Object.prototype)
    console.log(Object.prototype.__proto__)
    let arr = new Array()
    console.log(arr)
    console.log(arr.__proto__)
    console.log(Array.prototype.__proto__)
</script>

</body>
</html>
